//
//  AsyncConnection.h
//  ProjectForA
//
//  Created by hmengwei on 14/11/19.
//  Copyright (c) 2014年 hmengwei. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^FinishedBlock) (NSData *data);
@interface AsyncConnection : NSObject<NSURLConnectionDataDelegate>
@property(nonatomic, copy)FinishedBlock finishedBlock;
@property (nonatomic, retain)NSMutableData *recivData;
+(void)getConnectWithUrl:(NSString *)url value:(NSDictionary *)value block:(FinishedBlock)block;

@end
